package com.biostime.qdingding.modules.qd.entity;

import com.biostime.qdingding.common.persistence.DataEntity;

/**
 * 特权纪录Entity
 * @author phil
 * @version 2015-12-16
 */
public class Privrecord extends DataEntity<Privrecord> {

	private static final long serialVersionUID = 1L;
	
	private Integer centerId;//早教中心Id
	private Integer privilegeId;//特权编号Id
	private Integer contractId;//合同Id
	private Integer count;//使用次数
	private Integer courseorderId;//订单编号
	
	private Center center;//早教中心
	private Privilege privilege;// 特权编号
	private Contract contract;// 合同编号

	public Privrecord(String id) {
		super(id);
	}

	public Privrecord() {
		super();
	}
	
	public Center getCenter() {
		return center;
	}

	public void setCenter(Center center) {
		this.center = center;
	}

	public Privilege getPrivilege() {
		return privilege;
	}

	public void setPrivilege(Privilege privilege) {
		this.privilege = privilege;
	}

	public Contract getContract() {
		return contract;
	}

	public void setContract(Contract contract) {
		this.contract = contract;
	}
	public Integer getCenterId() {
		return centerId;
	}

	public void setCenterId(Integer centerId) {
		this.centerId = centerId;
	}

	public Integer getPrivilegeId() {
		return privilegeId;
	}

	public void setPrivilegeId(Integer privilegeId) {
		this.privilegeId = privilegeId;
	}

	public Integer getContractId() {
		return contractId;
	}

	public void setContractId(Integer contractId) {
		this.contractId = contractId;
	}

	public Integer getCourseorderId() {
		return courseorderId;
	}

	public void setCourseorderId(Integer courseorderId) {
		this.courseorderId = courseorderId;
	}

	public Integer getCount() {
		return count;
	}

	public void setCount(Integer count) {
		this.count = count;
	}
}